package com.education.platform.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @Date :
 * @author : tomato
 * @Description : 登录请求
 */
@Getter
@Setter
@ToString
@ApiModel
public class LoginRequestVO {
    /**
     * 用户名
     */
    @ApiModelProperty("手机号")
    @NotEmpty(message = "手机号")
    private String phone;

    /**
     * 验证码
     */
    @ApiModelProperty("验证码")
    @NotEmpty(message = "请填写验证码")
    private String verificationCode;

}
